package com.yxw.springcloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxw.springcloud.model.Storage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yanxw
 * @since 2021-05-10
 */
public interface StorageService extends IService<Storage> {

    /**
     * 扣减库存
     * @param productId
     * @param count
     */
    void decrease(Long productId,Integer count);

}
